from zhanshop.env import Env
from zhanshop.app import App

sns = {
    "qiniu": {
        "access_key": App.make(Env).get("qiniu.access_key", "access_key"),
        "secret_key": App.make(Env).get("qiniu.secret_key", "secret_key"),
        "buckets": {
            "img": {
                "bucket": App.make(Env).get("qiniu.bucket_img", "img"),
                "domain": App.make(Env).get("qiniu.domain_img", "http://img.zhanshop.cn"),
            },
            "audio": {
                "bucket": App.make(Env).get("qiniu.bucket_audio", "audio"),
                "domain": App.make(Env).get("qiniu.domain_audio", "http://audio.zhanshop.cn"),
            },
            "video": {
                "bucket": App.make(Env).get("qiniu.bucket_video", "video"),
                "domain": App.make(Env).get("qiniu.domain_video", "http://video.zhanshop.cn"),
            },
            "file": {
                "bucket": App.make(Env).get("qiniu.bucket_file", "file"),
                "domain": App.make(Env).get("qiniu.domain_file", "http://file.zhanshop.cn"),
            }
        }
    }
}